New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add HOMEBREW_UPGRADE_GREEDY option #15160
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work so far!
Library/Homebrew/env_config.rb
Outdated
@@ -344,6 +344,10 @@ module EnvConfig | |||
description: "If set, use Pry for the `brew irb` command.", | |||
boolean: true, | |||
}, | |||
HOMEBREW_UPGRADE_GREEDY: { | |||
description: "If set, run `--greedy` with all upgrade commands", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: "If set, run `--greedy` with all upgrade commands", | |
description: "If set, pass `--greedy` to all cask upgrade commands", |
What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, for consistency, I suggest adding a full stop here, too.
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Thanks again @razvanazamfirei, great work! |
brew style
with your changes locally?brew typecheck
with your changes locally?brew tests
with your changes locally?Fix #15097, where discussion can be found.
Alternatively, this option could be modified to include all greedy options.